package scsc.web.process.forms;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;

import scsc.web.process.data.ArchivesNotionData;
import scsc.web.process.data.MeetingData;
import scsc.web.system.AppActionForm;
import scsc.web.system.data.DocManageData;

public class MeetingForm extends AppActionForm {
	private MeetingData data;

	private ArchivesNotionData notionData;

	private DocManageData docData;

	private FormFile userFile;

	private long taskInstanceId;

	private long taskItemInstanceId;
	
	private String priapprove;
	
	private String dirapprove;

	private String approve;

	public String getApprove() {
		return approve;
	}

	public void setApprove(String approve) {
		this.approve = approve;
	}

	public MeetingData getData() {
		return data;
	}

	public void setData(MeetingData data) {
		this.data = data;
	}

	public ArchivesNotionData getNotionData() {
		return notionData;
	}

	public void setNotionData(ArchivesNotionData notionData) {
		this.notionData = notionData;
	}

	public long getTaskInstanceId() {
		return taskInstanceId;
	}

	public void setTaskInstanceId(long taskInstanceId) {
		this.taskInstanceId = taskInstanceId;
	}

	public long getTaskItemInstanceId() {
		return taskItemInstanceId;
	}

	public void setTaskItemInstanceId(long taskItemInstanceId) {
		this.taskItemInstanceId = taskItemInstanceId;
	}

	public void reset(ActionMapping mapping, HttpServletRequest request) {
		super.reset(mapping, request);
		data.reset();
		notionData.reset();
		docData.reset();
	}

	public MeetingForm() {
		super();
		data = new MeetingData();
		notionData = new ArchivesNotionData();
		docData = new DocManageData();
	}

	public DocManageData getDocData() {
		return docData;
	}

	public void setDocData(DocManageData docData) {
		this.docData = docData;
	}

	public FormFile getUserFile() {
		return userFile;
	}

	public void setUserFile(FormFile userFile) {
		this.userFile = userFile;
	}

	public String getDirapprove() {
		return dirapprove;
	}

	public void setDirapprove(String dirapprove) {
		this.dirapprove = dirapprove;
	}

	public String getPriapprove() {
		return priapprove;
	}

	public void setPriapprove(String priapprove) {
		this.priapprove = priapprove;
	}
}
